package com.inspur.cmis.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

	@RequestMapping("/logincontroller")
	public String loginc(String username ,String userpass) {
		
		if(username.equals("xxh") && userpass.equals("123456")) {
			return "main.jsp";
		}else {
			return "login.jsp";
			
		}
		
		
		
		
		
	} 
	
}
